package com.my.swas.sso.module.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "sys_role")
public class Role implements Serializable{
    private static final long serialVersionUID = -6140090613812307452L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "role_tips")
    private String roleTips;


    @TableField(value = "role_name",insertStrategy = FieldStrategy.NOT_EMPTY,updateStrategy = FieldStrategy.NOT_EMPTY)
    private String roleName;

    @TableField(value = "role_desc")
    private String roleDesc;

}